﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;

namespace UHUModel
{
    /// <summary>
    ///By lvxiaojia
    ///Time:2012-08-13
    ///Description: Code Generine by CodeSmith
    /// </summary>
    [Serializable]
    [ActiveRecord("advertisement")]
    public class Advertisement : ActiveRecordBase<Advertisement>
    {
        [PrimaryKey(Generator = PrimaryKeyType.Identity)]
        public int ID
        {
            get;
            set;
        }

        [Property("ADType")]
        public int ADType
        {
            get;
            set;
        }

        [Property("ADName")]
        public string ADName
        {
            get;
            set;
        }

        [Property("ADImagePath")]
        public string ADImagePath
        {
            get;
            set;
        }

        [Property("ADLink")]
        public string ADLink
        {
            get;
            set;
        }

        [Property("ADContent")]
        public string ADContent
        {
            get;
            set;
        }

        [Property("ADCode")]
        public string ADCode
        {
            get;
            set;
        }

        [Property("ADOther")]
        public string ADOther
        {
            get;
            set;
        }        
    }
}
